package person.locke.regexandgame.game.plant;

/**
 * Created by Locker on 2018/7/4.
 */
public abstract class Plant {

    private String name;

    private int hp;

    public Plant() {
    }

    public Plant(String name, int hp) {
        this.name = name;
        this.hp = hp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }
}
